'use strict';

module.exports = (options, app) => {
  return async function mysqlCtx(ctx, next) {
    ctx.db = app.mysql;
    await next();
  };
};
